home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 30 / Amiga Format AFCD30 (Sep 1998, Issue 114).iso / -seriously_amiga- / workbench / -datatypes- / animation / datatypes / animationclassext.h
C/C++ Source or Header  |  1998-06-18  |  3KB  |  71 lines

  1.  
  2. #ifndef DATATYPES_ANIMATIONCLASSEXT_H
  3. #define DATATYPES_ANIMATIONCLASSEXT_H 1
  4. /*
  5. **  $VER: animationclass.h 41.2 (23.9.97)
  6. **
  7. **  Extended Interface definitions for DataType animation objects.
  8. **  Note: This include file will be merged with animationclass.h !!
  9. **
  10. **  Written by Roland Mainz, gisburn@w-specht.rhein-ruhr.de
  11. **
  12. */
  13.  
  14. #ifndef DATATYPES_ANIMATIONCLASS_H
  15. #include <datatypes/animationclass.h>
  16. #endif /* !DATATYPES_ANIMATIONCLASS_H */
  17.  
  18. #ifndef LIBRARIES_REALTIME_H
  19. #include <libraries/realtime.h>
  20. #endif /* !LIBRARIES_REALTIME_H */
  21.  
  22. /* Animation attributes */
  23. #ifndef ADTA_Dummy
  24. #define ADTA_Dummy (DTA_Dummy + 600UL)
  25. #endif /* !ADTA_Dummy */
  26.  
  27. /* reserved tag space for CBM/AT/AI usage */
  28. #define ADTA_CBMReserved0  (ADTA_Dummy  +  8)
  29. #define ADTA_CBMReserved1  (ADTA_Dummy  +  9)
  30. #define ADTA_CBMReserved2  (ADTA_Dummy  + 10)
  31. #define ADTA_CBMReserved3  (ADTA_Dummy  + 11)
  32. #define ADTA_CBMReserved4  (ADTA_Dummy  + 12)
  33. #define ADTA_CBMReserved5  (ADTA_Dummy  + 13)
  34. #define ADTA_CBMReserved6  (ADTA_Dummy  + 14)
  35. #define ADTA_CBMReserved7  (ADTA_Dummy  + 15)
  36. #define ADTA_CBMReserved8  (ADTA_Dummy  + 16)
  37. #define ADTA_CBMReserved9  (ADTA_Dummy  + 17)
  38. #define ADTA_CBMReserved10 (ADTA_Dummy  + 18)
  39. #define ADTA_CBMReserved11 (ADTA_Dummy  + 19)
  40. #define ADTA_CBMReserved12 (ADTA_Dummy  + 20)
  41. #define ADTA_CBMReserved13 (ADTA_Dummy  + 21)
  42. #define ADTA_CBMReserved14 (ADTA_Dummy  + 22)
  43. #define ADTA_CBMReserved15 (ADTA_Dummy  + 23)
  44.  
  45. /* Alias */
  46. #define ADTA_BitMapHeader        PDTA_BitMapHeader /* (struct BitMapHeader *) */
  47. #define ADTA_VoiceHeader         SDTA_VoiceHeader  /* (struct VoiceHeader *)  */
  48. #define ADTA_Grab                PDTA_Grab         /* (Point *)               */
  49. #define ADTA_DestFrame           PDTA_DestBitMap   /* (struct BitMap *) -- current remapped frame. Only save to read when object os NOT playing */
  50.  
  51. /* Timing related */
  52. #define ADTA_TicksPerFrame       (ADTA_Dummy  + 24) /* (ULONG) Like ADTA_FramesPerSecond: TICK_FREQ / fps == tpf */
  53. #define ADTA_CurrTicksPerFrame   (ADTA_Dummy  + 25) /* (ULONG) Current tpf, as set by a slider etc, or set by adaptive
  54.                                                      * FPS rate calculations
  55.                                                      */
  56. #define ADTA_CurrFramesPerSecond (ADTA_Dummy  + 26) /* (ULONG) Like TICK_FREQ / curr_tpf == curr_fps */
  57.  
  58. /* Touch and burn ! */
  59. #define ADTA_Private0            (ADTA_Dummy  + 27) /* (APTR) Do NOT touch !! */
  60. #define ADTA_Private1            (ADTA_Dummy  + 28) /* (APTR) Do NOT touch !! */
  61.  
  62. /* Misc */
  63. #define ADTA_AdaptiveFPS         (ADTA_Dummy  + 30) /* (BOOL) Use adaptive FPS rate selection during playback */
  64. #define ADTA_SmartSkip           (ADTA_Dummy  + 31) /* (BOOL) Skip frames based on display time weight        */
  65. #define ADTA_NumPrefetchFrames   (ADTA_Dummy  + 32) /* Number of frames to prefetch by load process           */
  66. #define ADTA_OvertakeScreen      (ADTA_Dummy  + 33) /* Overtake screen palette                                */
  67.  
  68. #endif /* !DATATYPES_ANIMATIONCLASSEXT_H */
  69.  
  70.  
  71.